package com.ruoyi.project.report.order.domain;

import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 营收统计报表对象
 *
 * @author admin
 * @date 2021-01-19
 */
public class OrderReport extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** 日期字符串 */
//    @Excel(name = "日期")
    private String dateStr;

    /** 日期中文字符串 */
    @Excel(name = "日期")
    private String dateStrCn;

    /** 订单数 */
    @Excel(name = "订单数")
    private Long orderNums;

    /** 总收入 */
    @Excel(name = "总收入(元)")
    private Long allPrice;



    public String getDateStr() {
        return dateStr;
    }

    public void setDateStr(String dateStr) {
        this.dateStr = dateStr;
    }

    public String getDateStrCn() {
        return dateStrCn;
    }

    public void setDateStrCn(String dateStrCn) {
        this.dateStrCn = dateStrCn;
    }

    public Long getOrderNums() {
        return orderNums;
    }

    public void setOrderNums(Long orderNums) {
        this.orderNums = orderNums;
    }

    public Long getAllPrice() {
        return allPrice;
    }

    public void setAllPrice(Long allPrice) {
        this.allPrice = allPrice;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("dateStr", getDateStr())
                .append("dateStrCn", getDateStrCn())
                .append("allPrice", getAllPrice())
                .append("orderNums", getOrderNums())
                .toString();
    }
}
